import { ADD_ACTION, SUB_ACTION } from './actionsName'


// 添加商品的ation
export const addAction = (params) => {
    return { type: ADD_ACTION, name: params.name }
}

// 删除商品的action
export const subAction = (params) => {
    return { type: SUB_ACTION, name: params.name }
}